{include file="public/header.php"}
 <div class="container">
	    	<form class="form-horizontal" method="post" action="index.php?m=home&c=index&a=up">
	    	  <input type="hidden" name="id" value="{$res[0]['id']}">
	    	  <div class="form-group">
	    	    <label for="inputEmail3" class="col-sm-2 control-label">标题</label>
	    	    <div class="col-sm-5">
	    	      <input type="text" name="title" class="form-control" id="inputEmail3" placeholder="title" value="{$res[0]['title']}">
	    	    </div>
	    	  </div>
	    	  <div class="form-group">
	    	    <label for="inputPassword3" class="col-sm-2 control-label">内容</label>
	    	    <div class="col-sm-5">
	    	      <textarea class="form-control" rows="3" name="content">{$res[0]['content']}</textarea>
	    	    </div>
	    	  </div>
	    	  <div class="form-group">
	    	    <label for="inputPassword3" class="col-sm-2 control-label">作者</label>
	    	    <div class="col-sm-5">
	    	      <input type="text" class="form-control" id="inputPassword3" placeholder="author" name="zuozhe" value="{$res[0]['zuozhe']}"	>
	    	    </div>
	    	  </div>
	    	  <div class="form-group">
	    	    <div class="col-sm-offset-2 col-sm-10">
	    	      <button type="submit" class="btn btn-default">提交</button>
	    	    </div>
	    	  </div>
	    	</form>
	    </div>
}
</body>
</html>
<?php 
mysql_close();
 ?>